<?php
/**
 * User zgh
 * Email 1803897171@qq.com
 * Date 2021/7/8
 **/

namespace app\common\model;


use think\Model;

class SmsModel extends  Model
{
    const tableName = 'sms';

    public function getCreateTimeAttr($value)
    {
        return date("Y-m-d H:i:s", $value);
    }


    public static function getMagicTableName()
    {
        return '__'.strtoupper(self::tableName).'__';
    }
}